package com.mew.common.dc.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.entity.record.PlayRecord;
import com.mew.common.vo.web.PlayRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@DS("mew_record")
public interface PlayRecordMapper extends BaseMapper<PlayRecord> {

    List<PlayRecordVo> byId(@Param("id") Long id, @Param("afterGoldNum") Long afterGoldNum, @Param("betNumber") Long betNumber, @Param("paymentNumber") Long paymentNumber);

    List<PlayRecordVo> getAll(@Param("userId") Long id, @Param("gameId") Integer gameId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
